package com.books.service.connection;

import com.books.model.entity.backcontroller.Connection;

import java.util.List;

public interface IConnectionService {
    List<Connection> connection (Integer peopleId);

    void del(Integer id);

    void addConnection(Connection connection);

    void delByAll(Integer peopleId,Integer bookId,Integer bookType);

    boolean ifCollect(Integer peopleId,Integer bookId,Integer bookType);
}
